package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.qms.algorithm.dto.QmsPointDto;
import qc.module.qms.entity.QmsPoint;

import java.util.List;

/**
 * QmsPointMapper
 *
 * @author QuCheng Tech
 * @since 2025/9/10
 */
@Mapper
public interface QmsPointMapper {
    QmsPointMapper MAPPER = Mappers.getMapper(QmsPointMapper.class);

    QmsPointDto toDto(QmsPoint en);

    List<QmsPointDto> toDtoList(List<QmsPoint> ens);
}
